package com.woniu;

import com.woniu.pojo.Student;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;

/**
 * @author yellow Docter
 * @date 2022 -10-24
 * @desc
 */
@EnableEurekaClient
@SpringBootApplication
public class MemberServiceApplication {

    public static void main(String[] args) {

        SpringApplication.run(MemberServiceApplication.class,args);

    }

    @Bean
    public Student student(){
        return new Student();
    }

}
